package com.sbm.quartz;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

import lombok.Data;

@Data
@Component
@ConfigurationProperties(prefix = "quartz")
public class QuartzConfig {

    private String properties = "quartz.properies";

    private int startupDelay = 0;

    private boolean autoStartup = true;

    private boolean overwriteExistingJobs = true;

    private String timeZone = "ETC/GMT-8";

    private boolean loadJobs = true;

    private String dataSource;
}
